package worldmap;

public final class MapColumnChunk {
	private byte[] block_ids = new byte[16 * 16 * 16];
	
	private byte[] blocks_metadata = new byte[block_ids.length / 2];

	private byte[] blocks_light = new byte[block_ids.length / 2];;
	
	private byte[] blocks_skylight = new byte[block_ids.length / 2];;
	
	
	public MapColumnChunk() {
		for(int i = 0; i<16*16*16; i++) {
			block_ids[i] = 0x02;
			blocks_metadata[i / 2] = (byte) 0x00;
			blocks_light[i / 2] = (byte) 0x79;
			blocks_skylight[i / 2] = (byte) 0x79;
		}
	}
	
	
	public byte[] getBlocksIds() {
		return block_ids;
	}
	
	public byte[] getBlocksMetadata() {
		return blocks_metadata;
	}
	
	public byte[] getBlocksLight() {
		return blocks_light;
	}
	
	public byte[] getBlocksSkylight() {
		return blocks_skylight;
	}
}
